<template>
  <div class="dog">
    <img
      src="https://scpic.chinaz.net/files/pic/pic9/202003/zzpic23514.jpg"
      alt=""
    />
    <p>这是一个孤独可怜的狗</p>
  </div>
</template>

<script>
export default {
}
</script>

<style>
  .dog {
    float: left;
    padding-bottom: 15px;
    width: 300px;
    height: 250px;
    border: 1px solid black;
    text-align: center;
  }
  img {
    width:300px;
    height: 200px;
  }
  
 </style>